﻿using MediatR;
using Warehouse.Api.Read.Dtos;
using Warehouse.Domian.Model;
using Warehouse.ErrorCode;

namespace Warehouse.Api.Read.AllCation.Command
{
    public class GetStockingCommand : IRequest<ApiPaging<StockingDtos>>
    {
        /// <summary>
        /// 当前第几页
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        ///  /// <summary>
        /// 用来判断是移库还是调拨
        /// </summary>
        /// </summary>
        public int State { get; set; } = 1;
        ///// <summary>          
        ///入库关联订单
        /// </summary>
        public string? AssociatedOrderNumber { get; set; }
    }
}
